


/**
 * 获取地址栏参数
 * @param {String} key 值
 */



 function getParams(key)
 {
        let query = window.location.search.substring(1);
        query = decodeURI(query)
        let arr = query.split("&");
        for (var i=0;i<arr.length;i++) 
        {
                var tempArr = arr[i].split("=");
                if(tempArr[0] == key) return tempArr[1]
        }
        return false;
 }